const express = require("express");
const router = express.Router();

//引入二级路由
const { login } = require("./admin/login");
const { reg } = require("./admin/reg");

//使用/设置 二级路由
router.use("/admin", login)
router.use("/admin", reg)

//一级路由导出
exports.userRouter = router;